﻿CREATE TABLE [dbo].[Event] (
    [EventID]          BIGINT        IDENTITY (1, 1) NOT NULL,
    [EventName]        VARCHAR (200) NOT NULL,
    [Details]          VARCHAR (500) NOT NULL,
    [StartTime]        DATETIME      NOT NULL,
    [EndTime]          DATETIME      NULL,
    [Location]         VARCHAR (100) NULL,
    [IsPublic]         BIT           NOT NULL,
    [DisplayGuestList] BIT           NOT NULL,
    [EventPic]         BIGINT        NOT NULL,
    [CreatedBy]        BIGINT        NOT NULL,
    [CreatedDate]      DATETIME      NOT NULL
);

